package com.dykj.apps.web.sysmanager.service;

import java.util.List;


import com.dykj.apps.web.sysmanager.dto.SysRoleDTO;
import com.dykj.platform.framework.common.paging.Page;
import com.dykj.platform.framework.exception.ApplicationException;

public interface IRoleManagerBS {
	public int saveOrUpdateRole(SysRoleDTO dto,String[] userListRight) throws ApplicationException;
	public int delRole(Long key,String groupid) throws ApplicationException;
	public SysRoleDTO getOneSysRole(Long id)throws ApplicationException;
	public List querySysRole(SysRoleDTO dto,Page page)throws ApplicationException;
	
	/**
	 * 查询角色描述重复的角色是否存在
	 * @param roledesc
	 * @param roleid
	 * @param creator
	 * @return
	 * @throws ApplicationException
	 */
	public List queryBydesc(String roledesc,String roleid,String creator)throws ApplicationException;
}
